
#ifndef __OUTLET_H__
#define __OUTLET_H__

#include "cocos2d.h"

using namespace cocos2d;

class COutlet : public CCNode
{
public:

	COutlet();
	~COutlet();
	
	static COutlet* outletWithType(int nType);

	bool changeType(int nType);

private:
	bool initWithType(int nType);

private:
	CCSprite* m_pImage;
	int m_nType;
};

#endif //__OUTLET_H__